﻿<!DOCTYPE html>
<html>
<head>
<title>变量提升</title>
</head>
<body>
<script>
var a;
console.log(a);
a = 1;
</script>
</body>
</html>
